public TDocumentFormat GetFromStream( System.IO.Stream stream, System.string fileExtension )
Parameters
- stream
- The stream to analyze.
- fileExtension
- Optional file extension without the dot, for example: "txt", "docx", etc. If not set, the method will try to detect it from the given stream if it is a System.IO.FileStream.